<template>
	<view class="bg">
		<view class="entrance">
			<view class="entrance-item" v-for="(item, index) in detail.list" @tap="$emit('navtive',item.url)" :key="index">
				<image :src="item.icon" mode="" :class="detail.radius ? 'radio' : ''"></image>
				{{item.name}}
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		props:{
			detail:{
				type:Object
			}
		},
		data() {
			return {
				
			};
		},
		methods:{
		}
	}
</script>

<style lang="less">
	.bg{
		background-color: #FFFFFF;
	}
	.radio{
		border-radius: 50%;
	}
	.entrance {
		width: 100%;
		padding: 20upx 0;
		box-sizing: border-box;
		display: flex;
		justify-content: space-around;
		.entrance-item{
			font-size: 12px;
			color: #333;
			display: flex;
			flex-direction: column;
			// justify-content:center;
			align-items:center;
			image {
				width:82upx;
				height:82upx;
				margin-bottom: 10upx;
			}
		}
		
	}
</style>
